#pragma once
#include "DXAMLCommon.h"


class IPALSoundBuffer
{
public:
	virtual XUINT32 AddRef() = 0;
	virtual XUINT32 Release() = 0;
	virtual HRESULT Start() = 0;
	virtual HRESULT Stop() = 0;
	virtual HRESULT Reset() = 0;
	virtual unsigned int GetRemainingDataSize() = 0;
	virtual HRESULT GetIsMuted(int *) = 0;
	virtual HRESULT SetIsMuted(int) = 0;
	virtual HRESULT GetVolume(float *) = 0;
	virtual HRESULT SetVolume(float) = 0;
	virtual HRESULT GetBalance(float *) = 0;
	virtual HRESULT SetBalance(float) = 0;
	virtual HRESULT GetPlaybackSpeed(float *) = 0;
	virtual HRESULT SetPlaybackSpeed(float) = 0;
	virtual HRESULT UnsubscribeSourceCallback() = 0;
};